﻿<?php
echo "<h1>".$this->lang->line('questions:ask_a_question')."</h1><br />";


echo form_open('questions/askQuestion');
?>
<table>
	<tr>
		<td>
			<?= $this->lang->line('questions:name') ?><br />
			<input type="text" name="name" id="name" value="<?php echo set_value('name'); ?>" />
		</td>
	</tr>
	<tr>
		<td>
			<?= $this->lang->line('questions:email') ?><br /> 
			<input type="text" name="email" id="email" value="<?php echo set_value('email'); ?>" />
		</td>
	</tr>
	<tr>
		<td>
			<?= $this->lang->line('questions:question') ?><br />
			<textarea cols="50" rows="10" name="question" id="question" ><?php echo set_value('question'); ?></textarea>
		</td>
	</tr>
	<tr>
		<td>
			<input type="checkbox" name="emailMe" id="emailMe" value="1" />
			<?= $this->lang->line('questions:emailMe') ?>
		</td>
	</tr>
	<tr>
		<td>
			<input type="submit" name="submit" id="submit" value="<?= $this->lang->line('questions:send') ?>" />
		</td>
	</tr>
</table>
<?php echo form_close(); ?>
<?php echo $validation_message; ?>


